var d = require("../../uni_modules/u-store/js_sdk/Storage.js"), e = {
    namespaced: !0,
    state: function() {
        return {
            addChecked: !1,
            addInfo: d.Storage.get("addInfo") || {
                address_id: 0,
                name: "请选择地址",
                phone: "",
                detail: ""
            }
        };
    },
    mutations: {
        updateUser: function(d, e) {
            d.id = e.id, d.username = e.username;
        },
        upAddChecked: function(d, e) {
            d.addChecked = e;
        },
        upAddInfo: function(e, a) {
            e.addInfo = a, d.Storage.set("addInfo", a);
        }
    }
};

exports.addModel = e;